<?php //pack11class

class SearchBlock extends Module {

   public $label;

	public function setup() {
        $this->label=LabelManager::getLabel("searchLabel");
        $searchForm=new SearchForm;
        $searchForm->action="?search";

        $submit=new FormButton;
        $submit->value=LabelManager::getLabel("search_submit_label");
        $submit->type=FormButton::TYPE_SUBMIT;
        $submit->setClass("FormSubmit");
        $searchForm->addButton($submit);
        $this->addChild($searchForm);
    }

}
?>
